
from QCommand import QCommand, CmdIDGen
# event
from EventDefine import event_QCMD_DATATRANSFER


class QCmdDataTransfer(QCommand):
    CMDID = CmdIDGen()
    CMDNAME = "QCmdDataTransfer"

    def Send(self, param):
        QCommand.InputSend(self, memberID = QCommand.MyMemberID, param = param)

    def Handle(self, memberID, param):
        messenger.send(event_QCMD_DATATRANSFER, [memberID, param])